home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gnome-libs.idb / usr / freeware / share / idl / gnome-factory.idl.z / gnome-factory.idl
Text File  |  2002-07-08  |  663b  |  33 lines

  1. /*
  2.  * gnome-factory.idl: Basic object factory interface, based on CORBA
  3.  * LifeCycle version
  4.  */
  5.  
  6. #ifndef __GNOME_FACTORY_IDL__
  7. #define __GNOME_FACTORY_IDL__
  8.  
  9. #if !defined(__LIBGNORBA_COMPILATION) && defined(__ORBIT_IDL__)
  10. %{
  11. #pragma include_defs "libgnorba/gnome-factory.h"
  12. %}
  13. #pragma inhibit push
  14. #endif
  15.  
  16. module GNOME {
  17.     typedef sequence<string> stringlist;
  18.  
  19.     interface GenericFactory {
  20.         exception CannotActivate { };
  21.         boolean supports(in string obj_goad_id);
  22.  
  23.         Object create_object(in string goad_id, in stringlist params)
  24.             raises(CannotActivate);
  25.     };
  26. };
  27.  
  28. #if !defined(__LIBGNORBA_COMPILATION) && defined(__ORBIT_IDL__)
  29. #pragma inhibit pop
  30. #endif
  31.  
  32. #endif
  33.